package com.mt.roll.process.service;

import com.mt.roll.core.params.IdParam;
import com.mt.roll.core.vo.IdVo;
import com.mt.roll.core.vo.PageVo;
import com.mt.roll.core.vo.R;
import com.mt.roll.process.params.WorkSequenceParam;
import com.mt.roll.process.params.WorkSequenceQueryParam;
import com.mt.roll.process.vo.EquipmentVo;
import com.mt.roll.process.vo.WorkSequenceVo;

import java.util.List;

/**
 * @Author: liguanghao
 * @Date: 2021/3/31 16:02
 * @Version 1.0
 */
public interface WorkSequenceService {
    /**
     * 获取xx
     *
     * @param idParam 主键参数
     * @return xx
     */
    R<WorkSequenceVo> get(IdParam idParam);

    /**
     * 获取xx分页列表
     *
     * @param workSequenceQueryParam xx查询参数
     * @return xx分页列表
     */
    R<PageVo<WorkSequenceVo>> page(WorkSequenceQueryParam workSequenceQueryParam);

    /**
     * 获取工序列表
     *
     * @param workSequenceQueryParam xx查询参数
     * @return xx分页列表
     */
    R<List<WorkSequenceVo>> list(WorkSequenceQueryParam workSequenceQueryParam);

    /**
     * 新增xx
     *
     * @param workSequenceParam xx参数
     * @return 主键
     */
    R<IdVo> add(WorkSequenceParam workSequenceParam);

    /**
     * 更新xx
     *
     * @param workSequenceParam xx参数
     * @return 主键
     */
    R<IdVo> update(WorkSequenceParam workSequenceParam);


    /**
     * 删除xx
     *
     * @param idParam 主键参数
     * @return 主键
     */
    R<IdVo> delete(IdParam idParam);


    /**
     * 获取加工设备列表
     * @return xx分页列表
     */
    R<List<EquipmentVo>> getEquipmentlist();
}
